Copyright © 1993-2004 by Klaas Hermanns and Pavel Fedin
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
$VER: FileXARexxDocumentation 2.2 (07 Jan 2004)
FileX - A binary editor
� Copyright 1993-2003 by Klaas Hermanns and Pavel Fedin
Released under GNU General Public License, all rights reserved.
1 Introduction | ||
2 Command overview | ||
4 Attributes |
FileX has an arexx port which is based on the Commodore Amiga User Interface Style Guide.
If there is nothing different specified for the PORTNAME at the beginning, the port will be named ‘FILEX’. In case that this port name does already exist, a number is being added to the name and increased until a not already used name is found. (‘NAME’->‘NAME.1’->‘NAME.2’)
The arguments will be evaluated in the way AmigaDOS does. If the different argument types are unknown, the following list can be used as a reference.
A simple string. It’s not necessary to specify the argument’s name.
Switch. Will be set through declaring an argument.
Key word. This argument must be given with an argument’s name. (‘<arg> = value’ oder ‘<arg> value’.
Number. This argument must be a decimal number.
Changing switch. Through specification of this argument a value will change its condition.
This argument must be given.
The rest of the line will be understood as an argument, although if there are some more keywords
Serveral values are possible.
For all commands that return something it’s possible to set a variable to the return value by specifing the name of it with the argument VAR. The same applies to the argument STEM and its stemvariables.
All commands with an ID argument return rc = 5, if the ID is invalid. If there is no ID given the current file/view/window is used for the command.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Name: Arguments => Return codes: -------------------------------------------- ACTIVATE ACTIVATEVIEW VIEWID=VID/K/N ACTIVATEWINDOW WINDOWID=WID/K/N ADJUSTWINDOWSIZE WINDOWID=WID/K/N APPEND VIEWID=VID/K/N ASSIGNCOMMAND NUMBER/K/N,NAME/K CHANGEWINDOW LEFTEDGE/K/N,TOPEDGE/K/N,HEIGHT/K/N,WIDTH/K/N,WINDOWID=WID/K/N CLEAR FORCE/S,VIEWID=VID/K/N CLOSE VIEW/S,WINDOW/S,FORCE/S,VIEWID=VID=WINDOWID=WID/K/N COLUMN DELTA/N/A,VIEWID=VID/K/N CURSOR UP/S,DOWN/S,LEFT/S,RIGHT/S,VIEWID=VID/K/N CUT VIEWID=VID/K/N DEACTIVATE EXECUTECOMMAND NUMBER/K/N,NAME/K EXPANDVIEW VIEWID=VID/K/N FAULT VAR/K,STEM/K,NUMBER/N/A => DESCRIPTION FILL VIEWID=VID/K/N FIND PROMPT/S,HEX/S,BACKWARDS/S,QUIET/S,TEXT/F,VIEWID=VID/K/N FINDCHANGE PROMPT/S,HEX/S,ALL/S,BACKWARDS/S,QUIET/S,FIND,CHANGE,VIEWID=VID/K/N FINDNEXT BACKWARDS/S,QUIET/S,VIEWID=VID/K/N FONT NAME/A,SIZE/N/A,WINDOWID=WID/K/N GETATTR OBJECT/A,FIELD,ID/K/N,STEM/K,VAR/K GETBLOCK VAR/K,STEM/K => BLOCK GETBYTES VAR/K,STEM/K,POS/N/A,NUMBER/N/A,FILEID=FID/K/N => HEXSTRING GOTOBOOKMARK NUMBER/N,VIEWID=VID/K/N GOTOBYTE POS/N/A,VIEWID=VID/K/N GOTOCOLUMN COLUMN/N/A,VIEWID=VID/K/N GOTOLINE LINE/N/A,VIEWID=VID/K/N GRABMEMORY START/N/A,END/N/A,FORCE/S,VIEWID=VID/K/N GROWVIEW VIEWID=VID/K/N HELP VAR/K,STEM/K,COMMAND => COMMANDDESC,COMMANDLIST/M INSERT VIEWID=VID/K/N LINE DELTA/N/A,VIEWID=VID/K/N LOADBLOCK NAME LOADCOMMANDS NAME LOADDISPLAYTYP NAME LOADSETTINGS NAME LOCKGUI MOVEWINDOW LEFTEDGE/N,TOPEDGE/N,WINDOWID=WID/K/N NEW VIEW/S,WINDOW/S NEXT VIEW/S,WINDOW/S NOP OPEN FILENAME,FORCE/S,VIEWID=VID/K/N PASTE VIEWID=VID/K/N POSITION SOF/S,EOF/S,SOL/S,EOL/S,VIEWID=VID/K/N PREVIOUS VIEW/S,WINDOW/S PRINT FILEID=FID/K/N PRINTBLOCK QUIT FORCE/S REDO NUMBER/N,FILEID=FID/K/N REQUESTFILE VAR/K,STEM/K,TITLE/K,PATH/K,FILE/K,PATTERN/K => FILENAME REQUESTNOTIFY PROMPT REQUESTRESPONSE BUTTONS/K,PROMPT/K REQUESTSTRING VAR/K,STEM/K,PROMPT/K,DEFAULT/K => STRING RX VAR/K,STEM/K,CONSOLE/S,ASYNC/S,COMMAND/F => RC/N,RESULT SAVE FILEID=FID/K/N SAVEAS NAME,FILEID=FID/K/N SAVEBLOCK NAME SAVECOMMANDS SAVECOMMANDSAS NAME SAVESETTINGS SAVESETTINGSAS NAME SETATTR OBJECT/A,FIELD,ID/K/N,FROMSTEM/K,FROMVAR/K SETBLOCK BLOCK/A SETBLOCKMARK VIEWID=VID/K/N SETBOOKMARK NUMBER/N,VIEWID=VID/K/N SETBYTES POS/N/A,HEXSTRING/A,FILEID=FID/K/N SETSCREEN NAME/K,OWN/S SHRINKVIEW VIEWID=VID/K/N SIZEWINDOW HEIGHT/N,WIDTH/N,WINDOWID=WID/K/N SPLIT VIEW/S,WINDOW/S UNDO NUMBER/N,FILEID=FID/K/N UNLOCKGUI WINDOWTOBACK WINDOWID=WID/K/N WINDOWTOFRONT WINDOWID=WID/K/N ZIPWINDOW WINDOWID=WID/K/N
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ACTIVATE
Reactivates FileX from iconify.
DEACTIVATE /* Equivalent to menu: `Project/Iconify' */ /* Now an icon will appear on the workbench. FileX `sleeps'. */ ACTIVATE /* Open FileX with all windows again */
DEACTIVATE
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ACTIVATEVIEW VIEWID=VID/K/N
Activates an view.
ID of a view that should be activated.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ACTIVATEWINDOW WINDOWID=WID/K/N
Activates an edit window.
ID of a edit window that should be activated.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ADJUSTWINDOWSIZE WINDOWID=WID/K/N
Adjusts the window to the size of edit views.
ID of a window.
Menu: ‘Settings/Adjust window size’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
APPEND VIEWID=VID/K/N
Appends the current block to the end of a file.
ID of a view that belongs to the file.
Menu: ‘Edit/Append’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ASSIGNCOMMAND NUMBER/K/N,NAME/K
Set one of the commands in the arexx menu.
Number between 0 and 10 which defines the command’s position. A requester will appear if no number has been specified.
Command’s file name. If no name is given a file requester will appear.
ASSIGNCOMMAND 0 ’dh5:myarexxcommands/filexcommand’
Menu: ‘ARexx/Assign command’, LOADCOMMANDS, SAVECOMMANDS, SAVECOMMANDSAS
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
CHANGEWINDOW LEFTEDGE/K/N,TOPEDGE/K/N,HEIGHT/K/N,WIDTH/K/N,WINDOWID=WID/K/N
Changes the position and/or size of a edit window.
New left offset.
New top offset.
New height.
Neq width.
ID of a edit window that should be changed.
If one of these arguments is not given, it is not changed.
/* Window to maximum size */ CHANGEWINDOW LEFTEDGE 0 TOPEDGE 0 HEIGHT 4000 WIDTH 4000
ZIPWINDOW, MOVEWINDOW, SIZEWINDOW, Attributes: ‘WINDOW/#?’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
CLEAR FORCE/S,VIEWID=VID/K/N
Clears a view.
The changes requester will be suppressed.
ID of a view that sould be cleared.
rc = 5, if the requester is cancelled.
Menu: ‘Project/New’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
VIEW/S,WINDOW/S,FORCE/S,VIEWID=VID=WINDOWID=WID/K/N
Closes a view or a window.
The ID is an view ID.
The ID is an window ID.
The changes requester will be suppressed.
ID of a view resp. window that should be closed.
QUIT
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
COLUMN DELTA/N/A,VIEWID=VID/K/N
Moves the cursor to the left or to the right.
Number of steps. Positive numbers move the cursor to the right.
ID of a view.
GOTOBYTE, GOTOCOLUMN, GOTOLINE, LINE
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
COPY VIEWID=VID/K/N
Copies the current marked block to the block buffer.
ID of a view.
Menu: ‘Edit/Copy’, SETBLOCKMARK
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
CURSOR UP/S,DOWN/S,LEFT/S,RIGHT/S,VIEWID=VID/K/N
Move the cursor.
Moves the cursor one step up.
Moves the cursor one step down.
Moves the cursor one step to the left.
Moves the cursor one step to the right.
ID of a view.
UP and DOWN as well as LEFT and RIGHT exclude each other.
GOTOBYTE, LINE, COLUMN
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
CUT VIEWID=VID/K/N
Cuts the current marked block out.
ID of a view.
Menu: ‘Edit/Cut’, SETBLOCKMARK
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
DEACTIVATE
Iconifies FileX. The window will be closed and an icon will appear on the workbench.
ATTENTION!: All arexx comannds which output something in an edit window or change an edit window in any way, can lead to a crash during the iconify.
ACTIVATE
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
EXECUTECOMMAND NUMBER/K/N,NAME/K
Executes an arexx command.
Number between 0 and 9 of an with ASSIGNCOMMAND installed command.
Name of an arexx script.
Both arguments exclude each other.
ASSIGNCOMMAND
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
EXPANDVIEW VIEWID=VID/K/N
Expands the current view to its maximum size. All other views in the window will become one line height.
ID of a view.
SHRINKVIEW, GROWVIEW
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
FAULT VAR/K,STEM/K,NUMBER/N/A => DESCRIPTION
Determines the text belonging to an dos error code.
Dos error code.
The error text.
FAULT 114 /* Result value using localized workbench: */ /* `: Falsches Namensmuster' */
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
FILL VIEWID=VID/K/N
Fills the current marked block with the curent fill string.
ID of a view.
/* If there is a block already marked, */ /* then neutralize it. */ GETATTR VIEW MARK if result=TRUE then SETBLOCKMARK /* Set fillstring to `Fill fillaround!' */ SETATTR APPLICATION FILLSTRING FROMVAR '"Fill fillaround!"' /* Set cursor to the fill-area's beginning */ GOTOBYTE 10 /* Set block mark */ SETBLOCKMARK /* Move cursor */ GOTOBYTE 100 /* Fill the area */ FILL /* Remove block marking */ SETBLOCKMARK
Menu: ‘Edit/Fill’, SETBLOCKMARK, SETATTR
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
FIND PROMPT/S,HEX/S,BACKWARDS/S,QUIET/S,TEXT/F,VIEWID=VID/K/N
Searches a string or a hex string within the current file. By success, the cursor is being positioned at the string’s beginning. The search begins at the current cursor position.
Opens the searchrequester. BACKWARDS and QUIET will be ignored.
Hex search.
Search backwards.
No requester if the search fails.
The search string or the hex search string.
ID of a view.
rc = 5, if the search fails.
/* Search the string `$VER:' without opening */ /* a requester by failure */ FIND QUIET TEXT '$VER:'
Attributes: ‘APPLICATION/#?SEARCH’, FINDNEXT, FINDCHANGE, Menu: ‘Search&Replace/#?’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
FINDCHANGE PROMPT/S,HEX/S,ALL/S,BACKWARDS/S,QUIET/S,FIND,CHANGE,VIEWID=VID/K/N
Searches a string or a hexstring within a file and replaces it throgh a new one. Maybe a requester appears to verify the replacement. The search will start from the current cursorposition.
Opens the search requester. ALL, BACKWARDS and QUIET will be ignored. ignoriert.
Hex search.
All found positions will be replaced without requester each time.
Search backwards.
No reqeuster if the search fails.
Search text or hex string.
Replace text or hex string.
ID of a view.
rc = 5, if the search fails.
/* Replaces `Claas' by `Klaas' */ FINDCHANGE QUIET ALL 'Claas' 'Klaas' FINDCHANGE BACKWARDS QUIET ALL 'Claas' 'Klaas'
FINDNEXT, FIND, Menu: ‘Search&Replace/#?’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
FINDNEXT BACKWARDS/S,QUIET/S,VIEWID=VID/K/N
Continues the last search operation, i.e. either search or search&replace.
Coninue search backwards.
No requester if the search fails.
ID of a view.
rc = 5, if search fails.
FIND, FINDCHANGE
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
FONT NAME/A,SIZE/N/A,WINDOWID=WID/K/N
Sets the font of an edit window.
Font name.
Font size.
ID of a window.
FONT ’horror.font’ 8
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GETATTR OBJECT/A,FIELD,ID/K/N,STEM/K,VAR/K
Gets the value of one or more variables used in the program.
Name of the object.
Name of the field.
Possible with the objects WINDOW, VIEW and FILE. If not given, the current view/window/file is used to determine the value.
If FIELD is not given, a STEM variable must be specified which will be filled with all values of the object.
GETATTR WINDOW TITLE /* Result contains now the titel of the window */ /* Not very interesting, but who cares :-) */
Attributes, SETATTR
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GETBLOCK VAR/K,STEM/K => BLOCK
Determines the contents of the block buffer, i.e. the contents clipboard.
The block buffer as a hex string.
SETBLOCK
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GETBYTES VAR/K,STEM/K,POS/N/A,NUMBER/N/A,FILEID=FID/K/N => HEXSTRING
Determines the value of a number of bytes at a position in the file.
Start of the block.
Number of bytes to get.
Block as a hex string.
ID of a file.
SETBYTES
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GOTOBOOKMARK NUMBER/N,VIEWID=VID/K/N
Sets the cursor to a position previously marked with SETBOOKMARK.
Number between 1 and 10.
ID of a view.
SETBOOKMARK
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GOTOBYTE POS/N/A,VIEWID=VID/K/N
Set the cursor to a specified position.
Offset to the start of the file.
ID of a view.
COLUMN, GOTOCOLUMN, GOTOLINE, LINE
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GOTOCOLUMN COLUMN/N/A,VIEWID=VID/K/N
Sets the cursor to a specified column.
Column number.
ID of a view.
COLUMN, GOTOBYTE, GOTOLINE, LINE
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GOTOLINE LINE/N/A,VIEWID=VID/K/N
Sets the cursor to a specified line.
Line number.
ID of a view.
COLUMN, GOTOBYTE, GOTOCOLUMN, LINE
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GRABMEMORY START/N/A,END/N/A,FORCE/S,VIEWID=VID/K/N
Displays a memory area instead of a file.
Start of the memory area.
End of the memory area.
If the current file is changed, the requester will be suppressed.
rc = 5, if the requester is cancelled.
GRABMEMORY 200000 280000 FORCE
Menu: ‘Project/Grab memory’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GROWVIEW VIEWID=VID/K/N
If possible the the view grows one line.
ID of a view.
SHRINKVIEW, EXPANDVIEW
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
HELP VAR/K,STEM/K,COMMAND => COMMANDDESC,COMMANDLIST/M
Finds out either an overview of all specified arexx commands or the synopsis of a command.
Commands name, whose synopsis shall be determined.
If COMMAND is not specified, a command overview will be returned.
If COMMAND is given:
Synopsis of the command.
Else:
Number of commands and overview of all commands.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
INSERT VIEWID=VID/K/N
Insert the current block of the block buffer at the current cursor position.
ID of a view.
Menu: ‘Edit/Insert’, SETBLOCKMARK
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
LINE DELTA/N/A,VIEWID=VID/K/N
Moves the cursor a specified number of lines up or down.
Number of lines. Positive numbers move the cursor down.
ID of a view.
COLUMN, GOTOBYTE, GOTOCOLUMN, GOTOLINE
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
LOADBLOCK NAME
Loads a block into the block buffer(clipboard).
Block name. If not given, a file requester will pop up.
rc = 5, if the block couldn’t be loaded.
SAVEBLOCK
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
LOADCOMMANDS NAME
Loads a set of arexx comannds.
If not given, a file requester pops up.
rc = 5, if the file couldn’t be loaded.
Menu: ‘ARexx/Load commands’, SAVECOMMANDS, SAVECOMMANDSAS
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
LOADDISPLAYTYP NAME
Loads the user display typ.
If not given, a file requester will pop up.
rc = 5, if the file couldn’t be loaded.
Menu: ‘Settings/Display/#?’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
LOADSETTINGS NAME
Loads a settings file.
If not given, a file requester will pop up.
rc = 5, if the file couldn’t be loaded.
Menu: ‘Settings/Load Settings...’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
LOCKGUI
Locks all edit windows. The user can’t make any input. Just size and position of the windows can be modified.
rc = 5, if the windows cannot be locked. This is possible when there’s still a requester open.
LOCKGUI
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
MOVEWINDOW LEFTEDGE/N,TOPEDGE/N,WINDOWID=WID/K/N
Moves the edit window.
New left offset.
New top offset.
ID of a window.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
NEW VIEW/S,WINDOW/S
Opens a new view(and window).
The current view is divided into two new views.
Opens a new edit window.
Menu: ‘Project/(View|Window)/New’, SPLIT
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
NEXT VIEW/S,WINDOW/S
Activates the next view/window.
The next view in the current window is activated.
The next window is activated.
PREVIOUS
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
NOP
This command does nothing.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
OPEN FILENAME,FORCE/S,VIEWID=VID/K/N
Opens a file.
If not given, a file requester will pop up. Auswahl.
The changes requester will be suppressed.
ID of a view.
rc = 5, if the file can’t be loaded.
CLEAR, SAVE, SAVEAS
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
PASTE VIEWID=VID/K/N
Pastes the current block into the file at the current cursor position.
ID of a view.
Menu: ‘Edit/Paste’, SETBLOCKMARK
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
POSITION SOF/S,EOF/S,SOL/S,EOL/S,VIEWID=VID/K/N
Sets the cursor.
Start of file.
End of file.
Start of line.
End of line.
ID of a view.
As well SOF and EOF as SOL and EOL exclude each other.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
PREVIOUS VIEW/S,WINDOW/S
Activate the previous view resp. edit window.
The previous view should be activated.
The previous window should be activated.
NEXT
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
PRINT FILEID=FID/K/N
Prints the whole file.
ID of a file.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
PRINTBLOCK
PRINTBLOCK
Prints the contents of the block buffer(clipboard).
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
QUIT FORCE/S
Quits FileX.
The changes requester is suppressed.
CLOSE
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
REDO NUMBER/N,FILEID=FID/K/N
Redos a number of ‘undos’.
Number of steps. If not given, just the last ‘undo’ is redone.
ID of a file.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
REQUESTFILE VAR/K,STEM/K,TITLE/K,PATH/K,FILE/K,PATTERN/K => FILENAME
Opens a file requester and returns a file name.
Title of the file requester.
Default path.
Default file.
A pattern.
Falls rc = 5, if the requester was cancelled.
Sonst:
Select file with path.
REQUESTFILE TITLE ’"Select a script:"’ PATTERN ’#?.filex’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
REQUESTNOTIFY PROMPT
Opens a simple notify requester with just one lonely gadget.
Title of the requester.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
REQUESTRESPONSE BUTTONS/K,PROMPT/K
Opens a Requester with several gadgets.
A string that defines the gadgets(see example).
Title.
rc contains the number of the selected gadgets. The right most gadget has got the nuber 0. All others are enumerated from left to right beginning with 1.
/* Requester with four gadgets */ REQUESTRESPONSE BUTTONS `"Gadget 1|Gadget2|Gadget 3|Gadget 0"' say '"You''ve chosen gadget number"' rc '.'
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
REQUESTSTRING VAR/K,STEM/K,PROMPT/K,DEFAULT/K => STRING
Opens a requester to enter a string.
Title.
Default string.
rc = 5, if the requester was cancelled.
Else:
Entered string.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
RX VAR/K,STEM/K,CONSOLE/S,ASYNC/S,COMMAND/F => RC/N,RESULT
Executes an arexx script.
If set, a console window for input and output will be opened.
Start the script asyncron.
Name of the arexx script.
If executed synchronous.
Return codes of the script.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SAVE FILEID=FID/K/N
Saves the file. If the file does not have a name, a file requester will pop up.
ID of a file.
rc = 5, if saving failed.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SAVEAS NAME,FILEID=FID/K/N
Saves the file under a new name.
New name of the file. If not given, a file requester will pop up.
ID of a file.
rc = 5, if saving failed.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SAVEBLOCK NAME
Saves the current contents of the block buffer(clipboard).
If not given, a file requester will pop up.
rc = 5, if saving failed.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SAVECOMMANDS
Saves the arexx command list from the menu under the current name.
rc = 5, if saving failed.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SAVECOMMANDSAS NAME
Saves the arexx command list from the menu under a new name.
If not given, a file requester will pop up.
rc = 5, if saving failed.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SAVESETTINGS
Saves the current settings under their current name.
rc = 5, if saving failed.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SAVESETTINGSAS NAME
Saves the current settings under a new name.
If not given, a ... ehh, what do you guess? ... file requester will pop up.
rc = 5, if saving failed.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SETATTR OBJECT/A,FIELD,ID/K/N,FROMSTEM/K,FROMVAR/K
Set one or more variables of the program to a new value.
Object name.
Field name.
Possible with the objects WINDOW, VIEW and FILE. If not given, the variable of the current view/window/file is set.
Name of a stem variable containing the values.
Name of a variable containing the value.
If FIELD is not specified, a FROMSTEM-variable must be specified. In this variable, several values of the object can be stored.
meinestemvariable.STRINGFILL = TRUE meinestemvariable.FILLSTRING = 'Klaas ist stupid!' SETATTR APPLICATION FROMSTEM meinestemvariable
Attributes, GETATTR
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SETBLOCK BLOCK/A
Puts a number of bytes in the block buffer(clipboard).
Hex string.
SETBLOCK ’"0071 12feee de"’
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SETBLOCKMARK VIEWID=VID/K/N
Switches between block mark mode and normal mode.
ID of a view.
Menu: ‘Edit/Mark’, Attributes: ‘PROJECT/MARK’, COPY, CUT, FILL
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SETBOOKMARK NUMBER/N,VIEWID=VID/K/N
Sets a mark at the current cursorposition. By using GOTOBOOKMARK, this mark can be jumped at.
Number between 1 and 10, which defines the mark’s number.
ID of a view.
GOTOBOOKMARK
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SETBYTES POS/N/A,HEXSTRING/A,FILEID=FID/K/N
Sets a defined number of bytes at a specified position.
Position, the bytes shall be set to.
Hex string containing the bytes.
ID of a file.
SETBYTES 200 '"4b6c 6161 73"'
GETBYTES
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SETSCREEN NAME/K,OWN/S
Definition of the screen FileX shall be opened on.
Name of an public screen.
An own screen shall be opened. A screen mode requester will pop up.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SHRINKVIEW VIEWID=VID/K/N
Shrinks a view by one line.
ID of a view.
EXPANDVIEW, GROWVIEW
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SIZEWINDOW HEIGHT/N,WIDTH/N,WINDOWID=WID/K/N
The FileX window height and width may be modified.
New height.
New width.
ID of a window.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SPLIT VIEW/S,WINDOW/S
Opens a new view with the same file as the current one.
The current view is divided into two new views.
Opens a new edit window.
Menu: ‘Project/(View|Window)/Split’, NEW
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
UNDO NUMBER/N,FILEID=FID/K/N
A defined number of changes made to the file will be undone.
Number of changes which shall be possible to be undone. If not specified, only the last change will be undone.
ID of a file.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
UNLOCKGUI
If the GUI was locked, it will be unlocked.
LOCKGUI
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
WINDOWTOBACK WINDOWID=WID/K/N
The window will be moved to the back.
ID of a window.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
WINDOWTOFRONT WINDOWID=WID/K/N
The window will be moved to the front.
ID of a window.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ZIPWINDOW WINDOWID=WID/K/N
Same function as the zip gadget of the FileX window has got.
ID of a window.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Some variables of FileX can be read by the option GETATTR. Probably they may also be modified through SETATTR. Both commands require at least the objectname and maybe a fieldname or an ID, too.
There are three different fieldtypes: Strings, numbers and boolean values (‘TRUE’ or ‘FALSE’).
Following are all objects and their belonging fields. For every field, its name and the type will be displayed, moreover if it can only be read. After that, a contents description follows.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Name of the public screen FileX is opened on.
Versionnumber of FileX.
Registration number. 0 statnds for the unregistered version.
Name of registered user.
Name of the arexx port.
Maximum size of the undo memory.
Maximum number of undo levels.
Jump width in lines for Alt-CURSORUP/DOWN.
Distance in lines to the upper/lower limit from where on the window shall be scrolled.
Unit that should be used for the block buffer.
Description of the command shell window.
Description of the shell window for arexx scripts.
TRUE, if no requester before saving an already existing file shall appear.
TRUE, if the Asl library and the Intuition library should be used instead of the Reqtools library.
Taskpriority of FileX.
Search string.
Replace string.
TRUE for string search, FALSE for hex search.
TRUE for casesensitiv searching.
TRUE to use the question mark(‘?’) as a wildcard.
Fill string.
TRUE for stringfill, FALSE for hex fill.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ID of a window.
Number of IDs, i.e. the number of opened edit windows.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Window offset to the left border.
Window offset to the right border.
Width of the window.
Height of the window.
Current title of the window.
Minimun width of the window.
Minimum height of tht window.
Maximum width of the window.
Minimun height of the window.
Number of views.
IDs of all views in this window. Separated by a space.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ID of a file.
Number of IDs, i.e. the number of opened files.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Full file name with path.
Path of the file name.
Name without path.
Number of changes.
Length of the file.
Start address of the file in the memory. If the lenght of the file is changed, the start address might change, too.
Number of views showing the file.
IDs of all views showing the file. Separated by a space.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Number of lines.
Number of bytes per line.
Current display type.
Defines in which form the file shall be displayed: 1 = only hexddisplay, 2 = only Asciidisplay, 3 = Hex-ASCII mixed display.
Defines how many Bytes shall be grouped to a block in the hexdisplay: 3 = no blocks, 0 = one byte blocks, 1 = word blocks, 2 = long word blocks.
Current cursor position.
Position of the mark’s beginning.
TRUE, when the active cursor is in the ascii area.
TRUE, if a block is being marked at the moment.
ID of the displayed file.
ID of the belonging edit window.
[Top] | [Contents] | [Index] | [ ? ] |
This document was generated on August 26, 2022 using texi2html 5.0.
The buttons in the navigation panels have the following meaning:
Button | Name | Go to | From 1.2.3 go to |
---|---|---|---|
[ << ] | FastBack | Beginning of this chapter or previous chapter | 1 |
[ < ] | Back | Previous section in reading order | 1.2.2 |
[ Up ] | Up | Up section | 1.2 |
[ > ] | Forward | Next section in reading order | 1.2.4 |
[ >> ] | FastForward | Next chapter | 2 |
[Top] | Top | Cover (top) of document | |
[Contents] | Contents | Table of contents | |
[Index] | Index | Index | |
[ ? ] | About | About (help) |
where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:
This document was generated on August 26, 2022 using texi2html 5.0.